package hotel.dao;

import hotel.dao.base.GenericDao;
import hotel.entity.RoomEntity;

import java.sql.SQLException;
import java.util.List;

public interface RoomDao extends GenericDao<RoomEntity>
{
	public List<RoomEntity> findRoomByRoomClass(String roomClass) 
			throws SQLException;
	
	public List<RoomEntity> findRoomByBeds(int beds) 
			throws SQLException;

	public List<RoomEntity> findRoomByRoomClassAndBeds(int beds, String roomClass) 
			throws SQLException;
	
	public void updateRoom(final int roomId, final int requestId)
			throws SQLException;
	
	public void dismissRoom(final int id)
			throws SQLException;
}
